package com.hzy.quetosys.dao;


import com.hzy.quetosys.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    User selectByNamePass(@Param("username") String username,@Param("password") String password);

    List<User> selectAll();

    int insert(User user);
    int updateById(User user);
    List<User> selectByKeyword(String keyword);

    User selectById(int id);

    int deleteById(int id);
}
